home *** CD-ROM | disk | FTP | other *** search
/ PC Users 1998 November / Cd users extra 14.iso / prog / inst / mailc / see.h1 < prev    next >
Encoding:
Text File  |  1998-09-14  |  2.4 KB  |  81 lines

  1. /*  see.h (see.h1)
  2. **
  3. **  Use for both Win16 & Win32.
  4. **
  5. **  For Win32 compilers NOT supporting the "declspec" keyword.
  6. */
  7.  
  8.  
  9. #ifdef WIN32
  10.   #ifdef _MSC_VER
  11.     #define DLL_IMPORT_EXPORT __stdcall
  12.   #else
  13.     #define DLL_IMPORT_EXPORT __stdcall _export
  14.   #endif
  15. #else
  16.   #define DLL_IMPORT_EXPORT FAR PASCAL
  17. #endif
  18.  
  19. #ifdef __cplusplus
  20.   #define NoMangle extern "C"
  21. #else
  22.   #define NoMangle
  23. #endif
  24.  
  25. #define SEE_MIN_RESPONSE_WAIT  1
  26. #define SEE_MAX_RESPONSE_WAIT  2
  27. #define SEE_CONNECT_WAIT       3
  28. #define SEE_DISABLE_MIME       4
  29. #define SEE_MIN_LINE_WAIT      5
  30. #define SEE_MAX_LINE_WAIT      6
  31. #define SEE_QUOTED_PRINTABLE   8
  32. #define SEE_AUTO_CALL_DRIVER   9
  33.  
  34. #define SEE_LOG_FILE          20
  35.  
  36. #define SEE_GET_ERROR_TEXT     1
  37. #define SEE_GET_COUNTER        2
  38. #define SEE_GET_RESPONSE       3
  39. #define SEE_GET_SOCK_ERROR     4
  40.  
  41. #define SEE_GET_MESSAGE_BYTES_READ  10
  42. #define SEE_GET_ATTACH_BYTES_READ   11
  43. #define SEE_GET_TOTAL_BYTES_READ    12
  44. #define SEE_GET_MESSAGE_BYTES_SENT  13
  45. #define SEE_GET_ATTACH_BYTES_SENT   14
  46. #define SEE_GET_TOTAL_BYTES_SENT    15
  47. #define SEE_GET_VERSION             16
  48.  
  49. #define SEE_GET_MSG_COUNT           17
  50. #define SEE_GET_MSG_SIZE            18
  51. #define SEE_GET_BUFFER_COUNT        19
  52.  
  53. #define BYTE  unsigned char
  54. #define WORD  unsigned int
  55. #define ULONG unsigned long
  56.  
  57. NoMangle int  DLL_IMPORT_EXPORT seeClose(void);
  58. NoMangle int  DLL_IMPORT_EXPORT seeDebug(int,LPSTR,int);
  59. NoMangle int  DLL_IMPORT_EXPORT seeDeleteEmail(int);
  60. NoMangle int  DLL_IMPORT_EXPORT seeDriver(void);
  61. NoMangle int  DLL_IMPORT_EXPORT seeErrorText(int,LPSTR,int);
  62. NoMangle int  DLL_IMPORT_EXPORT seeExtractText(LPSTR,LPSTR,LPSTR,int);
  63. NoMangle int  DLL_IMPORT_EXPORT seeGetEmailFile(int,LPSTR,LPSTR,LPSTR);
  64. NoMangle int  DLL_IMPORT_EXPORT seeGetEmailLines(int,int,LPSTR,int);
  65. NoMangle int  DLL_IMPORT_EXPORT seeGetEmailCount(void);
  66. NoMangle long DLL_IMPORT_EXPORT seeGetEmailSize(int);
  67. NoMangle int  DLL_IMPORT_EXPORT seeIntegerParam(int,ULONG);
  68. NoMangle int  DLL_IMPORT_EXPORT seePop3Connect(LPSTR,LPSTR,LPSTR);
  69. NoMangle int  DLL_IMPORT_EXPORT seeSendEmail(LPSTR,LPSTR,LPSTR,LPSTR,LPSTR,LPSTR);
  70. NoMangle int  DLL_IMPORT_EXPORT seeSmtpConnect(LPSTR,LPSTR,LPSTR);
  71. NoMangle ULONG DLL_IMPORT_EXPORT seeStatistics(int);
  72. NoMangle int  DLL_IMPORT_EXPORT seeStringParam(int,LPSTR);
  73. NoMangle int  DLL_IMPORT_EXPORT seeVerifyFormat(LPSTR);
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.